package com.nuanshui.heatedloan.task.facade.model;


import com.nuanshui.heatedloan.search.base.annotation.Document;
import com.nuanshui.heatedloan.search.base.annotation.SearchField;
import com.nuanshui.heatedloan.search.base.enums.SearchParamType;

/**
 * 任务执行生成的日志
 * @param 
 * @author guohao
 * @date 2017年1月5日 下午4:07:28
 * @since $
 */
@Document(index="logs",type="job_log")
public class TaskLog {
	private String source;//来源
	
	@SearchField(searchType=SearchParamType.EQ)
	private String jobCode;//任务编码
	
	private String host;//主机
	
	private String type;//类型
	
	private String message;//日志信息
	
	private String timestamp;//日志时间戳
	
	private String logger;//
	
	private String level;//日志级别
	
	private String thread;//线程
	
	private String throwable;//错误信息
	
	

	public String getThrowable() {
		return throwable;
	}

	public void setThrowable(String throwable) {
		this.throwable = throwable;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getJobCode() {
		return jobCode;
	}

	public void setJobCode(String jobCode) {
		this.jobCode = jobCode;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}

	public String getLogger() {
		return logger;
	}

	public void setLogger(String logger) {
		this.logger = logger;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getThread() {
		return thread;
	}

	public void setThread(String thread) {
		this.thread = thread;
	}
	
	
	
	
	

}
